import Vue from 'vue'
import Router from 'vue-router'
import NewSong from '../components/newsong/newsong.vue'
import About from '../components/about/about.vue'

Vue.use(Router)

export default new Router({
  mode:'history',
  routes: [
   {
      path:'/',
      redirect:'/newsong'
   },
   {
      path:'/newsong',
      component:NewSong
   },
   {
      path:'/about',
      component:About
   },
  ]
})
